Skip to content

Conversation

@Gnanasundari24
Copy link
Contributor

@Gnanasundari24 Gnanasundari24 commented Apr 15, 2025

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

This PR adds verification for the payment_method_data object in the response of saved card payments. It ensures that the created Payment Method Data (PMD) matches the saved card's payment_method_data, and that all fields are correctly populated.

Motivation and Context

To ensure that all relevant fields are accurately populated in the saved card payment response. This enhances field-level validation and overall data integrity in our tests.

How did you test it?

All scenarios have been tested locally
Stripe
Screenshot 2025-04-15 at 5 10 34 PM
BankofAmerica
Screenshot 2025-04-15 at 5 17 31 PM
Cybersource
Screenshot 2025-04-15 at 5 25 59 PM

Field Level verifications
Screenshot 2025-04-03 at 4 29 55 PM
Screenshot 2025-04-04 at 3 01 52 PM

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible

@Gnanasundari24 Gnanasundari24 requested a review from a team as a code owner April 15, 2025 12:01
@semanticdiff-com
Copy link

semanticdiff-com bot commented Apr 15, 2025

@Gnanasundari24 Gnanasundari24 self-assigned this Apr 15, 2025
@Gnanasundari24 Gnanasundari24 added A-CI-CD Area: Continuous Integration/Deployment C-test Category: Tests labels Apr 15, 2025
@Gnanasundari24 Gnanasundari24 added this to the April 2025 Release milestone Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CI-CD Area: Continuous Integration/Deployment C-test Category: Tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants